// A Javascripts to help web browser do proxy autoselection.

function FindProxyForURL(url, host) {
    if (shExpMatch(host,"*.appspot.com")) {
        return "PROXY www.google.cn:80";
    }
    if (shExpMatch(host,"appengine.google.com")) {
        return "PROXY www.google.cn:80";
    }
    if (shExpMatch(host,"*.youtube.com")) {
        return "PROXY www.google.cn:80";
    }
    if (shExpMatch(host,"*.googlecode.com")) {
        return "PROXY www.google.cn:80";
    }
    if (shExpMatch(host,"*.blogspot.com")) {
        return "PROXY www.google.cn:80";
    }
    if (shExpMatch(host,"*.chromium.org")) {
        return "PROXY www.google.cn:80";
    }
    
    return "DIRECT";
}

